package com.ruoyi.check.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 出勤管理对象 attendance
 *
 * @author ruoyi
 * @date 2023-03-03
 */
public class Attendance extends BaseEntity
{
    private static final long serialVersionUID = 1L;



//    private String amGoZao;
//
//    public String getAmGoZao() {
//        return amGoZao;
//    }
//
//    public void setAmGoZao(String amGoZao) {
//        this.amGoZao = amGoZao;
//    }

    /** 出勤编号 */
    @Excel(name = "出勤编号")
    private Integer atId;

    /** 员工编号 */
    @Excel(name = "员工编号")
    private Integer empId;

    public String getEmpName() {
        return empName;
    }

    public void setEmpName(String empName) {
        this.empName = empName;
    }

    /** 员工姓名 */
    @Excel(name = "员工姓名")
    private String empName;

    /** 上午上班时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "上午上班时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date onWorkAm;

    private String onWorkAmMsg;

    /** 上午下班时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "上午下班时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date offWorkAm;

    private String offWorkAmMsg;


    /** 下午上班时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "下午上班时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date onWorkPm;

    private String onWorkPmMsg;


    /** 上午下班时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "上午下班时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date offWorkPm;

    private String offWorkPmMsg;


    /** 记录时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "记录时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date recordTime;

    /** 判断时间是否合格 */
    private String isQualified;

    public String getIsQualified() {
        return isQualified;
    }

    public void setIsQualified(String isQualified) {
        this.isQualified = isQualified;
    }

    /** 版本号 */
    //@Excel(name = "员工编号")
    private Integer version;

    public String getOnWorkAmMsg() {
        return onWorkAmMsg;
    }

    public void setOnWorkAmMsg(String onWorkAmMsg) {
        this.onWorkAmMsg = onWorkAmMsg;
    }

    public String getOffWorkAmMsg() {
        return offWorkAmMsg;
    }

    public void setOffWorkAmMsg(String offWorkAmMsg) {
        this.offWorkAmMsg = offWorkAmMsg;
    }

    public String getOnWorkPmMsg() {
        return onWorkPmMsg;
    }

    public void setOnWorkPmMsg(String onWorkPmMsg) {
        this.onWorkPmMsg = onWorkPmMsg;
    }

    public String getOffWorkPmMsg() {
        return offWorkPmMsg;
    }

    public void setOffWorkPmMsg(String offWorkPmMsg) {
        this.offWorkPmMsg = offWorkPmMsg;
    }

    public Integer getVersion() {
        return version;
    }

    public void setVersion(Integer version) {
        this.version = version;
    }

    public void setAtId(Integer atId)
    {
        this.atId = atId;
    }

    public Integer getAtId()
    {
        return atId;
    }
    public void setEmpId(Integer empId)
    {
        this.empId = empId;
    }

    public Integer getEmpId()
    {
        return empId;
    }
    public void setOnWorkAm(Date onWorkAm)
    {
        this.onWorkAm = onWorkAm;
    }

    public Date getOnWorkAm()
    {
        return onWorkAm;
    }
    public void setOffWorkAm(Date offWorkAm)
    {
        this.offWorkAm = offWorkAm;
    }

    public Date getOffWorkAm()
    {
        return offWorkAm;
    }
    public void setOnWorkPm(Date onWorkPm)
    {
        this.onWorkPm = onWorkPm;
    }

    public Date getOnWorkPm()
    {
        return onWorkPm;
    }
    public void setOffWorkPm(Date offWorkPm)
    {
        this.offWorkPm = offWorkPm;
    }

    public Date getOffWorkPm()
    {
        return offWorkPm;
    }
    public void setRecordTime(Date recordTime)
    {
        this.recordTime = recordTime;
    }

    public Date getRecordTime()
    {
        return recordTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("atId", getAtId())
            .append("empId", getEmpId())
            .append("onWorkAm", getOnWorkAm())
            .append("offWorkAm", getOffWorkAm())
            .append("onWorkPm", getOnWorkPm())
            .append("offWorkPm", getOffWorkPm())
            .append("recordTime", getRecordTime())
            .toString();
    }
}
